Automattic\Jetpack\My_Jetpack\Product D

Total Complexity 149
Dependencies 10
Dependents 1
Total lines 970
Lines of code 415
Logical lines of code 201
Comment lines 418
Methods 58
Properties 10

Methods 58

Method Rating Maintainability Complexity Lines of code
get_status()
C
42 33 45
has_paid_plan_for_product()
A
53 9 25
get_paid_plan_purchase_for_product()
S
55 7 20
do_activation()
S
56 6 19
is_owned()
S
61 6 12
get_paid_bundles_that_include_product()
S
56 5 19
install_and_activate_standalone()
S
58 5 16
get_installed_plugin_filename()
S
60 5 13
get_info()
S
47 2 40
get_site_features_from_wpcom()
S
55 3 19
is_active()
S
78 4 3
filter_action_links()
S
64 3 9
get_standalone_info()
S
65 3 9
does_site_have_feature()
S
64 3 10
get_renew_paid_plan_purchase_url()
S
66 3 8
get_manage_paid_plan_purchase_url()
S
66 3 8
is_paid_plan_expired()
S
65 3 8
extend_plugin_action_links()
S
69 2 7
is_module_active()
S
71 2 6
get_paid_plan_expiration_status()
S
69 2 7
has_any_plan_for_product()
S
79 2 3
get_paid_plan_expiration_date()
S
69 2 7
get_plugin_actions_links()
S
63 1 11
get_disclaimers()
S
81 1 3
activate_plugin()
S
80 1 3
is_plugin_installed()
S
80 1 3
is_plugin_active()
S
80 1 3
is_jetpack_plugin_installed()
S
79 1 3
is_jetpack_plugin_active()
S
79 1 3
get_long_description()
S
100 1 0
activate()
S
68 1 7
get_description()
S
100 1 0
get_features()
S
100 1 0
do_product_specific_activation()
S
81 1 3
deactivate()
S
77 1 4
get_title()
S
100 1 0
get_name()
S
100 1 0
extend_core_plugin_action_links()
S
76 1 4
get_tiers()
S
81 1 3
get_features_by_tier()
S
81 1 3
get_wpcom_product_slug()
S
81 1 3
get_manage_urls_by_feature()
S
81 1 3
has_free_plan_for_product()
S
81 1 3
get_post_checkout_urls_by_feature()
S
81 1 3
get_paid_plan_product_slugs()
S
81 1 3
get_post_checkout_url()
S
81 1 3
get_post_activation_url()
S
80 1 3
get_plugin_filename()
S
81 1 3
get_manage_url()
S
100 1 0
get_supported_products()
S
81 1 3
is_paid_plan_expiring()
S
75 1 4
get_purchase_url()
S
81 1 3
get_pricing_for_ui()
S
100 1 0
has_trial_support()
S
81 1 3
is_upgradable()
S
81 1 3
is_bundle_product()
S
81 1 3
is_upgradable_by_bundle()
S
81 1 3
get_plugin_slug()
S
81 1 3